home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 8
/
Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso
/
Aminet
/
util
/
cli
/
REQ.lha
/
Req
/
Req.doc
< prev
next >
Wrap
Text File
|
1995-06-10
|
1KB
|
41 lines
Req
~~~
©Copyright 1995 Thomas Ansorge, Dinkelackerring 55, 67435 Neustadt,
Germany. Req is Freeware.
DISCLAIMER: REQ SOFTWARE IS PROVIDED "AS-IS" AND SUBJECT TO CHANGE; NO
WARRANTIES ARE MADE. ALL USE IS AT YOUR OWN RISK. NO LIABILITY OR
RESPONSIBILITY IS ASSUMED.
Req is a small CLI tool that produces a file/directory requester and then
calls a CLI command with the result of the requester as argument(s).
Template: COMMAND/A,SAVE/S,DIR/S,SHOW/S,ASK/S
COMMAND: the command to be executed
SAVE: produce a save requester
DIR: produce a directory requester
SHOW: show the commandline to be executed before execution (for debug
purposes, for example)
ASK: shows the command and asks the user whether to execute it or not
Example:
> req "list dirs" dir
(directory requester pops up, user selects RAM: (for example))
(the commandline "list dirs ram:" will be executed)
Known bug: If you use the filerequester as directory requester (you leave
the filerequester with ok, but the file string gadget is empty), 48 bytes
of memory will not be freed and the directory becomes read-only ("object in
use") until the next reset. Use the DIR option to avoid this bug if you
want a directory name!
Let's greet my beta testers Michael and Stephan here...
Have fun! Thomas. :-})